﻿namespace IBNet
{
   /// <summary>
   /// The trade direction of a contract, long or short.
   /// </summary>
   public enum TradeDirection 
   {
      /// <summary>
      /// 0 = No trade direction
      /// </summary>
      NoDirection = 0,
      /// <summary>
      /// 1 - Long trade direction
      /// </summary>
      Long = 1,
      /// <summary>
      /// 2 - Short trade direction
      /// </summary>
      Short = 2
   }
}
